home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / utilities / disk / smartcopy1_3.lha / SmartCopy / SmartCopy.doc < prev    next >
Encoding:
Text File  |  1995-01-27  |  17.3 KB  |  437 lines

  1.                          SmartCopy v1.3
  2.                     © 1995 Rask I. Lambertsen
  3.                           User's Manual
  4.  
  5.  
  6.    (I wish I didn't have to do this, but ...)
  7.  
  8.  
  9.                            Disclaimer.
  10.                            ¯¯¯¯¯¯¯¯¯¯¯
  11.  
  12.    This program is provided "as is" without warranty of any kind,
  13. either  expressed  or  implied, including, but no limited to, the
  14. implied warranty of fitness for a particular purpose.  The entire
  15. risk  as  to the results, reliability and performance of this
  16. program is assumed by you.
  17.  
  18.  
  19.  
  20.                           Distribution.
  21.                           ¯¯¯¯¯¯¯¯¯¯¯¯¯
  22.  
  23.    This program is freely distributable. Distribution is allowed if
  24. the following conditions are met:
  25.  
  26. 1. Program and documentation must not be changed in any way,
  27.    except for archiving with an archiver, for which the
  28.    corresponding unarchiver will work on any CPU type used in
  29.    Amigas at the time of distribution.
  30.  
  31. 2. Program, documentation and the icons for the program and the
  32.    documentation must be distributed together.
  33.  
  34. 3. The file names of the program, documentation and icons must not
  35.    be changed (this especially applies to Fred Fish, who has
  36.    had the habit of changing file names to upper case). However;
  37.    you ARE allowed to change the default tool of the documentation
  38.    icon. You are also allowed to shapshot the icons if you
  39.    really need to.
  40.  
  41. 4. Only a nominal and small fee for copying is charged, unless
  42.    some sort of media is supplied with SmartCopy, in which case
  43.    it is allowed to add the cost of that media to the charge.
  44.  
  45. 5. SmartCopy or parts of it must not be sold in combination with
  46.    or as part of commercial software without my written
  47.    permission.
  48.  
  49.  
  50.     (OK, lets get to the more interesting part.)
  51.  
  52.  
  53.  
  54.                           Introduction.
  55.                           ¯¯¯¯¯¯¯¯¯¯¯¯¯
  56.  
  57.    SmartCopy was written to easily transfer files from a hard disk
  58. to multiple disks. It automatically finds out when the disk is
  59. full and prompts for another one. This is useful for copying a
  60. bunch of pictures, samples, modules or whatever to disks, like a
  61. picture, sample or module collection. SmartCopy uses a GUI to be
  62. as user-friendly as possible (meaning that you don't need to mess
  63. around with shells/CLIs or directory utilities).
  64.  
  65.    One of my major goals was to make a very fast yet reliable
  66. copy routine (like the one in C:Copy). This became a major goal
  67. especially after I found out that the copy routine in SID2 is not
  68. just slow, but also UNRELIABLE when copying files from CrossDOS
  69. disks with text filtering enabled.
  70.  
  71.    When I released version 1.2, I didn't know of any similar programs
  72. other than CO.COM for IBM PC's and compatibles. It didn't have a GUI,
  73. but, of course, any decent Amiga program has a GUI.
  74.    As of this writing, I know of the programs ECopy, Dred, Reducer
  75. and Stow, which (more or less) do the same as SmartCopy. However,
  76. THEY DON'T HAVE A GUI, so if you don't want to have to remember the
  77. format of their command line options, well, then you know which
  78. program to use.
  79.  
  80.  
  81.  
  82.                       System requirements.
  83.                       ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
  84.  
  85.    Any Amiga with
  86. - 224 bytes of CHIP memory + 38200 bytes of any memory
  87.   (measured with C:Avail on my system, may differ on yours).
  88. - at least Amiga OS 2.04 or later.
  89.  
  90. Amiga OS 2.1 or later is recommended because of the MUCH faster
  91. file requester.
  92.  
  93. If you want some technical details, here is more precise OS requirements:
  94. exec.library      version 36+
  95. dos.library       version 36+
  96. intuition.library version 36+
  97. utility.library   version 36+
  98. asl.library       version 36+
  99. gadtools.library  version 37+
  100.  
  101. dos.library version 37+ is recommended because version 36
  102. contains many bugs.
  103. asl.library version 38+ is recommended because version 36 and
  104. version 37 are awfully slow.
  105.  
  106.  
  107.  
  108.                           Installation.
  109.                           ¯¯¯¯¯¯¯¯¯¯¯¯¯
  110.  
  111.    As simple as it can be: Copy SmartCopy and it's icon to the
  112. directory where you want to install it. From Workbench you simply
  113. drag SmartCopy to it's destination.
  114.  
  115.  
  116.  
  117.                              Usage.
  118.                              ¯¯¯¯¯¯
  119.  
  120. (Since version 1.2, a lot has changed, most notably the keyboard
  121. short-cuts, so users of version 1.2 should read this also.)
  122.  
  123. SmartCopy can be started from either Workbench or Shell/CLI. You
  124. will then see the main window. It contains the following gadgets:
  125.  
  126. "Add files..."  Brings up a file requester so you can add files to
  127.                 the file list (see below). The files will be
  128.                 marked automatically.
  129.                 Keyboard short-cut: "a" or "A".
  130.  
  131. "Sort files"    Will sort the files so that the biggest files are
  132.                 at the top of the list. This will help SmartCopy
  133.                 fill the disks optimally.
  134.                 Keyboard short-cut: "s" or "S".
  135.  
  136. "Copy files"    Copies the files in the file list (see below) to
  137.                 the destination device (see below). Optionally, a
  138.                 directory on the destination device(s) can be
  139.                 specified (see below). If you haven't selected a
  140.                 destination device, you will be informed about
  141.                 it, and the operation will be aborted.
  142.                 Files that don't fit on the destination(s) device
  143.                 (see "Disk space check" below) will not be copied.
  144.                 If a file is successfully copied, its comment,
  145.                 attributes (protection bits) and date is copied
  146.                 too, and the file is deselected.
  147.                 If some files didn't fit on the disk, you will be
  148.                 requested to insert a new disk. Inserting a new
  149.                 disk will automatically acknowledge the
  150.                 requester. If you push the "Cancel" button, the
  151.                 operation will be aborted, and those file that
  152.                 were not copied will still be selected. Else,
  153.                 the whole process will be repeated with the new
  154.                 disk and the files that didn't fit on the previous
  155.                 disk.
  156.                 As files are copied, the list is scrolled so that
  157.                 the file being copied is in the middle (when
  158.                 possible). The file name is also show beneath the
  159.                 file list.
  160.                 The logo in the lower right corner of the window
  161.                 will fill up as the disk get full. It is an
  162.                 estimate of how much space has been used on the
  163.                 disk when the file copy/move has completed.
  164.                 Keyboard short-cut: "c" or "C".
  165.  
  166. "Move files"    Same as "Copy files", except that after the files
  167.                 have been copied, they will be deleted from the
  168.                 source directory and removed from the file list.
  169.                 If the delete fails, the files will just be de-
  170.                 selected.
  171.                 Keyboard short-cut: "m" or "M".
  172.  
  173. "Remove files"  The selected files will be removed from the
  174.                 file list.
  175.                 Keyboard short-cut: "r" or "R".
  176.  
  177. "Clear list..." Puts up a requester asking you to confirm that
  178.                 you really want to clear the file list (see
  179.                 below). If you do, click the "Yes" button and
  180.                 watch the file list be cleared, else click the
  181.                 "No" button, and the operation will be aborted.
  182.                 Keyboard short-cut: "t" or "T".
  183.                 ** ** ** CHANGED SINCE VERSION 1.2 ** ** **
  184.  
  185. "De"select all  Will deselect all files in the file list.
  186.                 Keyboard short-cut: "d" or "D".
  187.  
  188. "select all"    Will select all files in the file list.
  189.                 Keyboard short-cut: "l" or "L".
  190.  
  191. "Delete files..." Puts up a requester asking you to confirm that
  192.                   you really want to delete all selected files.
  193.                   If you click "Yes", all selected files will be
  194.                   deleted and removed from the file list.
  195.                   If you click "No", nothing will happen.
  196.                   Files that fail to be deleted will stay in the
  197.                   file list.
  198.                   Keyboard short-cut: "e" or "E".
  199.  
  200. "Find devices"  Scans the system device list for file system
  201.                 devices. You can use this button if you mount
  202.                 a device after SmartCopy was started. This
  203.                 is also handy if SmartCopy couldn't access
  204.                 the device list on startup.
  205.                 Warning: Your currently selected device(s) will
  206.                 NOT be reselected.
  207.                 Keyboard short-cut: "v" or "V".
  208.                 ** ** ** CHANGED SINCE VERSION 1.2 ** ** **
  209.  
  210. "List of files to be copied"    This is where you can see which
  211.                                 files has not yet been copied.
  212.                                 The scroll bar and scroll arrows
  213.                                 on the right side can be used to
  214.                                 scroll the list when SmartCopy is
  215.                                 not copying the files.
  216.                                 You can click file names to select
  217.                                 or deselect them.
  218.  
  219. "Destination device"    This is a list of available disk devices.
  220.                         You can choose one by clicking on its
  221.                         name. This is where SmartCopy will copy
  222.                         the file to. You select multiple
  223.                         devices if you want to.
  224.                         Clicking on a selected device name will
  225.                         deselect it.
  226.  
  227. "Destination dir"       This is where you can enter the name of a
  228.                         directory on the destination device to
  229.                         copy the file to. There is a limit of
  230.                         256 characters for the directory
  231.                         specification. The directory must exist,
  232.                         it will NOT be created.
  233.                         This gadget has on-line help (try pressing
  234.                         the HELP key when it is activated).
  235.                         Keyboard short-cut: "i" or "I".
  236.  
  237. "Disk space check"      Select the way of calculating whether a
  238.                         file fits on the disk or not.
  239.                         "Smart (FFS)" is for AmigaDOS FFS disks.
  240.                         This is a bit inaccurate for disk
  241.                         formatted with directory caching, though.
  242.                         "Smart (OFS)" is the same as "Smart (FFS)",
  243.                         except for OFS disks.
  244.                         "Generic" is for other types of disks,
  245.                         like CrossDOS disks.
  246.                         "None" turns off disk space check. Useful
  247.                         if you want to copy something to the RAM disk.
  248.  
  249.  
  250.  
  251.                     What I would like to add.
  252.                     ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
  253.  
  254.    I would like to make it easier to select whole directories at
  255. a time (so that you don't have to click every file to select a
  256. whole directory). Other things will be:
  257.  - a way to abort copying files.
  258.  - disk space calculation for PFS (Professional File System) disks.
  259.  - improve handling of multiple destinations (see known quirks).
  260.  - disable gadgets when they are not functional.
  261.  - reduce OS requirements to Amiga OS 2.0.
  262.  - public screen option (should be VERY easy).
  263.  - reduce memory fragmentation.
  264.  - some other optimizations.
  265.  
  266.  
  267.  
  268.                         Acknowledgements.
  269.                         ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
  270. (OOPS! I forgot this important part in the 1.2 docs. Sorry, folks!)
  271.  
  272.    Thanks to
  273.  
  274.       - Matthew Dillon for the DICE C compiler.
  275.  
  276.       - Piotr Obminski for SKEW (SKEleton Writer).
  277.  
  278.       - Commodore-Amiga for MungWall and their good startup code.
  279.  
  280.       - Michael Plitkins for CodeWatcher.
  281.  
  282.       - Joe Yurick for ideas and suggestions.
  283.  
  284.       - Holger Kruse for the right code to calculate the number of
  285.         blocks a file will occupy.
  286.  
  287.  
  288.  
  289.                            The author.
  290.                            ¯¯¯¯¯¯¯¯¯¯¯
  291. (OOPS! I forgot this in the 1.2 docs. Sorry again, folks.)
  292.  
  293.    I can be contacted via
  294.  
  295.  - Regular mail:
  296.  
  297.    Rask I. Lambertsen
  298.    Pinievej 20
  299.    Strøby Egede
  300.    DK-4600 Køge
  301.    Denmark
  302.  
  303.    (To type 'ø' on non-Danish keyboards, press Alt and 'o' at the same time.
  304.     If it doesn't work, just use 'oe' instead.)
  305.  
  306.  - Phone:
  307.  
  308.    (+45) 56267651
  309.  
  310.  - E-mail:
  311.  
  312.    Rask I. Lambertsen <gc948374@gbar.dtu.dk>    (preferred)
  313.    or
  314.    Rask I. Lambertsen <e9864029@ebar.dtu.dk>
  315.  
  316.  
  317.    Bug reports, suggestions, ideas, etc are welcome.
  318.    If you think I deserve it, I will accept donations, but you are NOT
  319.    required to send me donations, and you should NOT feel guilty if
  320.    you don't. This IS FreeWare.
  321.  
  322.  
  323.  
  324.                    Know bugs/quirks/problems.
  325.                    ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
  326.  
  327.    With multiple destination devices, if SmartCopy is unable to copy
  328. at least one file to a device, the a requester will pop up, asking
  329. you to replace one or more disks. However, instead of trying again on
  330. the same device, it will move on to the next selected device in the
  331. list. I hope to fix this soon.
  332.  
  333.    If SPEAK: is mounted, SmartCopy will lose 128 bytes of memory
  334. (two blocks of 64 bytes) on startup and every time you click the
  335. "Find devices" button. This seems to be a problem with
  336. L:Speak-Handler (at least on my Workbench 2.1 system).
  337.  
  338.      5. HD1:> Version L:Speak-Handler FULL
  339.      speak-handler 37.4 (21.2.91)
  340.  
  341.    Doing a
  342.  
  343.      5. HD1:> List SPEAK:
  344.  
  345. will lose you 256 bytes (4 blocks of 64 bytes). Doing a
  346.  
  347.      5. HD1:> Dir SPEAK:
  348.  
  349. will lose you 128 bytes (2 blocks of 64 bytes). The big problem is
  350. that this causes memory fragmentation.
  351.   This problem can worked around by not having SPEAK: mounted.
  352.  
  353.    Although this is not a bug in SmartCopy, I mention this because
  354. it is likely that people will have SPEAK: mounted as part of their
  355. system startup, like having the "SPEAK" icon in DEVS:DOSDrivers for
  356. Workbench 2.1 and above.
  357.  
  358. (The above results were obtain with CodeWatcher (see acknowledgements)
  359. and verified with C:Avail.)
  360.  
  361.  
  362.  
  363.                             History.
  364.                             ¯¯¯¯¯¯¯¯
  365.  
  366. 1.0     (Sometime at the end of 1992)
  367.         Simple GUI file copier with simple disk space check.
  368.         Not released to the public.
  369.         Size: 5552 bytes.
  370.  
  371. 1.1     (11-Aug-93)
  372.         Improved disk space check with options for specialized
  373.         calculation of disk space on FFS and OFS. Generic is the old
  374.         space check. Also, disk space check can now be turned off.
  375.         Rearranged GUI to get more space.
  376.         Increased window size.
  377.         File comments and attributes (protection bits) are
  378.         preserved when the files are copied.
  379.         Changed the gadget labels to be User Interface Style Guide
  380.         compliant.
  381.         Added (permanently disabled) "Sort" gadget.
  382.         Added the little logo in the lower right corner.
  383.         Added the option to copy to a directory on the destination.
  384.         SmartCopy will now close and reopen it's window when it
  385.         thinks the user has changes screen resolution. This is to
  386.         help IPrefs close and reopen the Workbench screen.
  387.         Fixed a lot of bugs, including these major ones:
  388.           The device list is now locked and stepped through using OS
  389.           functions, making it safe.
  390.           No longer enters an endless loop when copying empty files.
  391.           No longer enters an endless loop when there is less than
  392.           one (1) byte of free memory.
  393.         Not released to the public.
  394.         Size increased from 6 kb to 13 kb :-(
  395.         Size: 13795 bytes.
  396.  
  397. 1.2     (27-Nov-94)
  398.         Fixed disk space check for FFS/OFS disk (the improvements in v1.1
  399.         were barely noticeable because I made a stupid mistake). This time
  400.         it REALLY should work.
  401.         FFS and OFS space check is now the same, the old code was almost
  402.         identical for the two cases anyway.
  403.         FFS/OFS disk space check should also work with block sizes other
  404.         that 512 bytes now.
  405.         Fixed the file copy routine so that it can copy from CrossDOS
  406.         devices with text filtering enabled.
  407.         File dates are copied too now.
  408.         No longer requires utility.library version 37, version 36 will
  409.         do (a stupid error of mine).
  410.         Removed the useless (and permanently disabled) "Sort" button.
  411.         No longer forces the ASL file requester to use any particular
  412.         text for the title and the "OK" button. This looks A LOT better
  413.         when the system is localized to another language than English.
  414.         The code to close and reopen SmartCopy's window has been
  415.         removed as it didn't work as intended. Instead of
  416.         reacting to changes to the screen, it reacted to changes
  417.         in printer settings. Unfortunately, when the window
  418.         reopened, SmartCopy crashed. Even starting a certain word
  419.         processor would make SmartCopy react and crash! :-(
  420.         Reduced size from 13 kb to 10 kb :-)
  421.         Size: 10624 bytes.
  422.  
  423. 1.3     (26 Jan 95)
  424.         No bugs were fixed because none were found :-)
  425.         Sort-by-size function added (yes, finally it's there).
  426.         Files can be marked to process only those files.
  427.         Multiple destination devices can be selected.
  428.         You can now either move or copy the files.
  429.         Delete-files function added.
  430.         Rearranged GUI to get room for the new gadgets.
  431.         The device list will probably show more devices than
  432.         before (like RAM:, for example).
  433.         Better way of checking if a file fits on an FFS/OFS device.
  434.         Back to seperate FFS and OFS space check calculation.
  435.         Sizes of each version added to the program history.
  436.         Size: 12672 bytes.
  437.